home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
gnu
/
bintests.lha
/
binutils-2.1
/
binutils
/
README
< prev
Wrap
Text File
|
1993-05-16
|
3KB
|
56 lines
This is a collection of tests for the GNU binutils. These tests
were developed by Cygnus Support as the beginning of a testsuite for
all the binutils. These tests are included "as is". If any of the
tests fail, don't report a bug, the problem is probably in the test
case. Bug reports for DejaGnu can go to bug-dejagnu@prep.ai.mit.edu.
In the future, all testsuites get released and maintained by the
devlopment team for that tool. These testsuites are included at this
time with the DejaGnu release to start the process of going through
all the tests and verifing their accuracy.
Since these are part of the development source tree at Cygnus, this
tar file is supposed to be untarred so that the the testsuite
directory is in the binutils source tree. Most of the time DejaGnu is
run by hand using "runtest", but as we believe in solid testing, we've
integrated it into our Makefile's as a target. We normally use these
testsuites by doing a "make all; make check" at the top level and
building and testing our whole tree.
In the main binutils directory, there is a Makefile.in.test. This has
the new target added called "make check". If it is merged into your
existing binutils-2.1/binutils/Makefile.in then it'll work like the
other GNU tools.
DejaGnu can be run either installed, or uninstalled. Usually it gets
installed so that anyone can just run the tests without having to
configure or build DejaGnu.
To run the tests, type:
"[srcdir path]/runtest --all --tool binutils --srcdir [srcdir path]/binutils/testsuite"
Here's a brief explanation.
runtest - Is the name used to invoke DejaGnu. [srcdir path]
points to the directory where DejaGnu is. This is
likely to be "../dejagnu-x.x/dejagnu" if DejaGnu is
not installed. If it is installed, it can be invoked
as part of your path.
--all - Print tests that pass and warnings. The default is
to only print tests that fail or internal error in
DejaGnu. All the test are recorded in the summary
file produced by running the tests.
--tool - This tells DejaGnu which tool you are testing. It is
mainly used to find the testsuite directories for a
particular tool when several testsuites are in the
same directory. (like the GCC and G++ testsuites)
For the binutils, this is a little more generic at
this point, but this will probably be split into
each tool at a later date.
--srcdir - This points to the top level of the directory
containing the sources of the testsuite.
- rob -
rob@cygnus.com